package com.ruoyi.bizsys.domain;

import java.math.BigDecimal;

import com.ruoyi.common.annotation.Excel;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 钱包订单对象 wallet_order
 *
 * @author african-loan
 * @date 2022-06-17
 */

@Data
public class WalletOrder extends BaseEntity {
    private static final long serialVersionUID = 1L;


    /**
     * ID
     */

    @Excel(name = "${comment}", readConverterExp = "ID")

    private Long id;


    /**
     * 订单流水号
     */

    @Excel(name = "订单流水号")

    private String serialNo;


    /**
     * 钱包账户号
     */

    @Excel(name = "钱包账户号")

    private String walletNo;


    /**
     * 客户号
     */

    @Excel(name = "客户号")

    private String custNo;


    /**
     * 订单类型
     */

    @Excel(name = "订单类型")

    private String orderType;


    /**
     * 申请金额
     */

    @Excel(name = "申请金额")

    private BigDecimal applyAmount;


    /**
     * 订单金额
     */

    @Excel(name = "订单金额")

    private BigDecimal amount;


    /**
     * 订单服务费
     */

    @Excel(name = "订单服务费")

    private BigDecimal serviceFee;


    /**
     * 钱包类型
     */

    @Excel(name = "钱包类型")

    private String walletType;


    /**
     * 银行编码
     */

    @Excel(name = "银行编码")

    private String bankCode;


    /**
     * 银行账户
     */

    @Excel(name = "银行账户")

    private String bankAccount;


    /**
     * From
     */

    @Excel(name = "From")

    private String fromWhere;


    /**
     * To
     */

    @Excel(name = "To")

    private String toDest;


    /**
     * 批次流水号
     */

    @Excel(name = "批次流水号")

    private String batchSerialNo;


    /**
     * 关联借据
     */

    @Excel(name = "关联借据")

    private String loanSerialNo;


    /**
     * 订单状态
     */

    @Excel(name = "订单状态")

    private String orderStatus;


    /**
     * 服务费率
     */

    @Excel(name = "服务费率")

    private BigDecimal serviceRate;


    /**
     * 余额最低提现金额
     */

    @Excel(name = "余额最低提现金额")

    private BigDecimal minWithdrawBalance;


    /**
     * 奖励金最低提现金额
     */

    @Excel(name = "奖励金最低提现金额")

    private BigDecimal minWithdrawBonus;


    /**
     * 状态
     */

    @Excel(name = "状态")

    private String state;


    /**
     * 备注
     */

    @Excel(name = "备注")

    private String remark;


    /**
     * 创建者
     */

    @Excel(name = "备注")

    private String createBy;


    /**
     * 创建时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date createTime;


    /**
     * 更新者
     */

    @Excel(name = "创建时间")

    private String updateBy;


    /**
     * 更新时间
     */

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")

    private Date updateTime;

}